package com.weigecoder.warehouse.constant;

/**
 * 常量类:
 */
public interface WarehouseConstants {

    //用户未审核
    public static final String USER_STATE_NOT_PASS = "0";

    //用户已审核
    public static final String USER_STATE_PASS = "1";

    //传递token的请求头名称
    public static final String HEADER_TOKEN_NAME = "Token";

    //验证码过期时间 5分钟
    public static final Long CAPTCHA_IMAGE_EXPIRE = 300L;

    //上传redis的图片的键名
    public static final String UPLOAD_FILENAME_KEY = "upload_filename_key";

    //密码重置
    public static final String RESETPwd_VALUE = "123456";

    //仓库缓存的键
    public static final String STORE_ALL_CACHE = "store:all:cache";

    //用户的权限缓存键的前缀
    public static final String AUTH_TREE_PREFIX = "authTree:";

    //所有权限列表缓存
    public static final String ALL_AUTH_TREE = "all:authTree";

    //所有角色Cacheable缓存的键
    public static final String ALL_ROLE = "all:role";

    //商品分类的缓存
    public static final String ALL_TYPE_TREE = "all:typeTree";

    //添加修改商品图片 所有图片名称(图片文件上传之后所有的图片)
    public static final String PRODUCT_IMAGES_RESOURCES = "product_images_resources";
    //添加修改商品图片保存在数据库中的图片名称
    public static final String PRODUCT_IMAGES_DB_RESOURCES = "product_images_db_resources";



}
